namespace STOWaybillMall.Core
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using TongTongMall.Domain.Repositories.Attributes;
    using TongTongMall.Domain.Repositories.Attributes;
    [Table("UserBuyProductConfig")]
    public partial class UserBuyProductConfig
    {
        [Identify]
        [Column(Order = 0)]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public long ProductID { get; set; }

        [Identify]
        [Column(Order = 1)]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public long UserID { get; set; }

        [Column(TypeName = "money")]
        public decimal Price { get; set; }

        public DateTime UpdateTime { get; set; }

        public int UpdateManageID { get; set; }

        public bool IsDelete { get; set; }

        public int? BuyLeast { get; set; }

        public int? BuyCardinality { get; set; }
    }
}
